#!/usr/bin/env python


bld.SAMBA_SUBSYSTEM('WMI',
	source='wmicore.c wbemdata.c ../../../librpc/gen_ndr/dcom_p.c',
	public_deps='RPC_NDR_OXIDRESOLVER NDR_DCOM RPC_NDR_REMACT ndr_table DCOM_PROXY_DCOM DCOM'
	)


bld.SAMBA_BINARY('wmic',
	source='tools/wmic.c',
	deps='POPT_SAMBA POPT_CREDENTIALS popt WMI'
	)


bld.SAMBA_BINARY('wmis',
	source='tools/wmis.c',
	deps='POPT_SAMBA POPT_CREDENTIALS popt WMI'
	)


bld.SAMBA_PYTHON('pywmi',
	source='wmi_wrap.c',
	public_deps='LIBCLI_SMB ndr samba-util samba-config WMI'
	)

